package com.barbeque.mall.service.wx;

import com.barbeque.mall.bean.BasePageInfo;
import com.barbeque.mall.bean.param.CommonData;
import com.barbeque.mall.bean.user.MarketCollect;
import com.barbeque.mall.bean.wx.collect.ListOfCollectVo;

public interface CollectService {
    /**
     * 收藏列表
     * @param pageInfo
     * @param type
     * @author ycc
     * @since 2022/07/20 14:28 
     */
    CommonData<ListOfCollectVo> list(BasePageInfo pageInfo, Integer type);

    /**
     * 添加或取消收藏
     * @param collect
     * @author ycc
     * @since 2022/07/20 15:17 
     */
    int addordelete(MarketCollect collect);
}
